projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5251253
)
entry: Make progress bar not pickable
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 14 Mar 2019 23:15:31 +0000
(19:15 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 14 Mar 2019 23:15:31 +0000
(19:15 -0400)
There is no need for that, we don't want to
handle input here at all.
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index ff52184a414fa1e1f6463a3233d9c0ae2968e999..499fbe9a844b9941d4856f76ebb97e981b550b67 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-3105,6
+3105,7
@@
gtk_entry_ensure_progress_widget (GtkEntry *entry)
priv->progress_widget = g_object_new (GTK_TYPE_PROGRESS_BAR,
"css-name", "progress",
NULL);
+ gtk_widget_set_can_pick (priv->progress_widget, FALSE);
gtk_widget_set_parent (priv->progress_widget, GTK_WIDGET (entry));